<template>
	<view class="proposal">
		<view class="sub">{{sub}}</view>
		<view class="text">
			{{ content}}
		</view>
	</view>
</template>

<script>
	export default {
		name: 'advice',
		props: {
			sub: {
				type: String,
				default: "建议"
			},
			content: {
				type: String,
				default: "请保持良好的借贷习惯，切勿频繁申请，拒绝不明平台的审核邀请，不去注册申请新的网贷，按时还款已有的网贷，3-6个月会慢慢恢复分数。"
			}
		}

	}
</script>

<style scoped lang="scss">
	.proposal {
		border-radius: 16rpx;
		margin-top: 32rpx;
		background: rgba(255, 235, 214, 0.45);
		box-shadow: 0px 4px 14px 0px rgba(106, 145, 218, 0.05), 0px 3px 8px -4px rgba(106, 145, 218, 0.08), inset 0px 0px 3px 0px rgba(255, 255, 255, 0.3);
		font-size: 14px;
		font-weight: 400;
		color: #DF6B14;
		line-height: 24px;

		.sub {
			border-radius: 16rpx 16rpx 0 0;
			width: 204px;
			color: #FFFFFF;
			font-size: 12px;
			text-indent: 8rpx;
			background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 109, 0, 0.6) 100%);
		}

		.text {
			padding: 16rpx 28rpx;
			font-size: 28rpx;
			color: #DF6B14;
		}
	}
</style>